package com.liuyou.duck;

public class ToyDuck extends Duck {
    @Override
    public void fly() {
//        super.fly();
        System.out.println("玩具鸭不会飞");
    }

    @Override
    public void swim() {
//        super.swim();
        System.out.println("玩具鸭不会游泳");
    }

    @Override
    public void speak() {
//        super.speak();
        System.out.println("玩具鸭不会叫");
    }

    @Override
    public void display() {
        System.out.println("玩具鸭");
    }
}
